package com.chuyu.cy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.socket.config.annotation.EnableWebSocket;

/**
 * @author 周小白
 */
@MapperScan("com.chuyu.cy.mapper")
@SpringBootApplication
@Transactional
@EnableScheduling
@EnableWebSocket
public class CyApplication {

    public static void main(String[] args) {
        SpringApplication.run(CyApplication.class, args);
    }

}
